package com.stx.test.polymorphism;

/**
 * packageName com.stx.test
 *
 * @author YangYi
 * @className Cat
 * @date 2025/9/16
 * @description TODO
 */
public class Cat extends Animal{

    @Override
    public void makeSound() { // 重写父类的makeSound方法
        System.out.println("喵喵喵！");
    }
}
